From: Richard M. Stallman Date: Sun, 28 Oct 2001 14:15:14 +0000 (+0000) Subject: (eval-defun): Doc fix. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~61173 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=46f90d0ff316746d282ae0831c47f33ad7864c24;p=emacs.git (eval-defun): Doc fix. --- diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index f154d5de433..ed25088a93d 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -574,10 +574,11 @@ Return the result of evaluation." (defun eval-defun (edebug-it) "Evaluate the top-level form containing point, or after point. -If the current defun is actually a call to `defvar', then reset the -variable using its initial value expression even if the variable -already has some other value. (Normally `defvar' does not change the -variable's value if it already has a value.) +If the current defun is actually a call to `defvar' or `defcustom', +evaluating it this way resets the variable using its initial value +expression even if the variable already has some other value. +\(Normally `defvar' and `defcustom' do not alter the value if there +already is one.) With a prefix argument, instrument the code for Edebug.